package com.cc.springboot.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;

import com.cc.springboot.service.UserService;


@Service
public class UserServiceImpl implements UserService {
	@Autowired
	private JdbcTemplate jdbcTemplate;

	public void createJdbcUser() {
		jdbcTemplate.update("insert into users values(?,?);",1,"kevin cai");
	}

}
